package com.daiqee.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 培训记录
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午5:48:39
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName(value="train")
public class Train extends LogicDeleteFlag{
	
	@TableId(type=IdType.AUTO)
    private Integer trainId;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date trainStartDate;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date trainEndDate;

    private String trainType;

    private String trainDescription;

    private Integer trainShouldPeoples;

    private Integer trainActualPeoples;

    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private Integer trainStatus;

    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String trainAddress;

    private String trainParticipantsId;

    private String trainParticipateEmployee;

    public Integer getTrainId() {
        return trainId;
    }

    public void setTrainId(Integer trainId) {
        this.trainId = trainId;
    }

    public Date getTrainStartDate() {
        return trainStartDate;
    }

    public void setTrainStartDate(Date trainStartDate) {
        this.trainStartDate = trainStartDate;
    }

    public Date getTrainEndDate() {
        return trainEndDate;
    }

    public void setTrainEndDate(Date trainEndDate) {
        this.trainEndDate = trainEndDate;
    }

    public String getTrainType() {
        return trainType;
    }

    public void setTrainType(String trainType) {
        this.trainType = trainType == null ? null : trainType.trim();
    }

    public String getTrainDescription() {
        return trainDescription;
    }

    public void setTrainDescription(String trainDescription) {
        this.trainDescription = trainDescription == null ? null : trainDescription.trim();
    }

    public Integer getTrainShouldPeoples() {
        return trainShouldPeoples;
    }

    public void setTrainShouldPeoples(Integer trainShouldPeoples) {
        this.trainShouldPeoples = trainShouldPeoples;
    }

    public Integer getTrainActualPeoples() {
        return trainActualPeoples;
    }

    public void setTrainActualPeoples(Integer trainActualPeoples) {
        this.trainActualPeoples = trainActualPeoples;
    }

    public Integer getTrainStatus() {
        return trainStatus;
    }

    public void setTrainStatus(Integer trainStatus) {
        this.trainStatus = trainStatus;
    }

    public String getTrainAddress() {
        return trainAddress;
    }

    public void setTrainAddress(String trainAddress) {
        this.trainAddress = trainAddress == null ? null : trainAddress.trim();
    }

    public String getTrainParticipantsId() {
        return trainParticipantsId;
    }

    public void setTrainParticipantsId(String trainParticipantsId) {
        this.trainParticipantsId = trainParticipantsId == null ? null : trainParticipantsId.trim();
    }

    public String getTrainParticipateEmployee() {
        return trainParticipateEmployee;
    }

    public void setTrainParticipateEmployee(String trainParticipateEmployee) {
        this.trainParticipateEmployee = trainParticipateEmployee == null ? null : trainParticipateEmployee.trim();
    }
}